package cn.iocoder.an.module.mold.controller.admin.upkeepcategory.vo;


import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import cn.iocoder.an.framework.excel.core.annotations.DictFormat;
import cn.iocoder.an.framework.excel.core.convert.DictConvert;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) //
public class UpkeepCategoryImportExcelVO {
    @ExcelIgnore
    private Long id;

    //名称
    @Schema(description = "名称")
    @ExcelProperty("名称")
    private String name;

    //编码
    @Schema(description = "编码")
    @ExcelProperty("编码")
    private String code;

    @Schema(description = "启用状态")
    @ExcelProperty(value = "启用状态", converter = DictConvert.class)
    @DictFormat("mold_row_status")
    private Integer status;

    @Schema(description = "核算方式")
    @ExcelProperty(value = "核算方式",converter = DictConvert.class)
    @DictFormat("mold_upkeep_category_account_method")
    private Integer accountMethod;

    @Schema(description = "保养周期")
    @ExcelProperty("保养周期")
    private Long upkeepPeriod;

    @Schema(description = "制单周期")
    @ExcelProperty("制单周期")
    private Long tobePeriod;

    //其实已经没用了
    @Schema(description = "提醒周期")
    @ExcelProperty("提醒周期")
    private Long reminderPeriod;

    @Schema(description = "描述")
    @ExcelProperty("描述")
    private String description;
}
